package com.github.binarywang.demo.wx.cp.controller.health;

import com.github.binarywang.demo.wx.cp.config.mutil.WxCpConfiguration;
import com.github.binarywang.demo.wx.cp.utils.JsonUtils;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import lombok.val;
import me.chanjar.weixin.common.error.WxErrorException;
import me.chanjar.weixin.cp.api.WxCpService;
import me.chanjar.weixin.cp.bean.message.WxCpXmlMessage;
import me.chanjar.weixin.cp.bean.message.WxCpXmlOutMessage;
import me.chanjar.weixin.cp.util.crypto.WxCpCryptUtil;
import org.apache.commons.lang3.StringUtils;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @author <a href="https://github.com/0katekate0">Wang_Wong</a>
 */
@Slf4j
@RestController
@RequiredArgsConstructor
public class HealthController {
    @GetMapping(value = "/health", produces = "text/plain;charset=utf-8")
    public String health()  {
        log.info("health...已运行");
        return "health...已运行";
    }
}
